Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IWindow.Content can be null in Core #23775

Merged
merged 3 commits into from
Jul 24, 2024
Merged

Conversation

mattleibow
Copy link
Member

Description of Change

In some cases, like embedding, there is no real MAUI window but instead we have a proxy window.

This PR just adds null checking, and in net9.0 we can make the property nullable in Core.

@mattleibow mattleibow requested a review from a team as a code owner July 23, 2024 14:24
@mattleibow mattleibow force-pushed the dev/optional-window-content branch from 1282de7 to 1bfe9ce Compare July 23, 2024 14:41
@mattleibow mattleibow enabled auto-merge (squash) July 23, 2024 21:30
@mattleibow mattleibow merged commit 8255dad into main Jul 24, 2024
97 checks passed
@mattleibow mattleibow deleted the dev/optional-window-content branch July 24, 2024 19:21
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-8.0.80 and removed fixed-in-net9.0-nightly This may be available in a nightly release! labels Aug 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-8.0.80 fixed-in-net9.0-nightly This may be available in a nightly release!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants